Metadata-Version: 2.1
Name: Console-Tools
Version: 0.1.2
Summary: A fancy text and logging tool for console applications
Home-page: https://github.com/dudeisbrendan03/consoleTools
Author: Brendan T D. Jennings
Author-email: jbrendan70@outlook.com
License: LICENSE
Description: # consoleTools
        A python module made for server applications for formatting and logging
        ___________________
        ## What am I?
        We needed a logging tool and console display tool with a fancy output with colours, so we quickly whipped this together.
        Other features will be implemented to this over-time as we need more things in our console apps.
        
        All logs are stored in `logs/`date`-log.txt`
        ___________________
        ## Usage
        ```python
        #Logging and displaying console output
        from consoleTools import consoleDisplay as cd
        cd.log('e','I am an error')
        cd.log('w','I am a warning')
        cd.log('i','I am an information message')
        cd.log('n',"I am a notice and therefore have no formatting as I'm not that important")
        cd.log('s','Woo-hoo! Your thing worked')
        ```
        ___________________
        ## Questions people asked when making this (but not in their words)
        q) B... b... but I don't want it to log to a file Brendan!
        
        a) Well the #### you, we added that:
        ```python
        cd.log('s','I will not log to a file',False)
        ```
        Add the boolean flag `False` and nothing will be logged to a file
        
        q) I don't want to log to `logs/`. Why are you making me do this
        a) By adding the simple flag `file=x` you can set whatever you want there
        ```python
        cd.log('s','I will log to a custom file',file="thisfilecontainsthe.log")```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
